function res(){
        var a = document.getElementById("phone").value;
        var resultado = document.getElementById('resultado');
        if (isNaN(a)){
            resultado.innerHTML = "Incorreto";

        } else {
            resultado.innerHTML = "Correcto";
        }
    }

function logOut(){
	 var registerUser = document.getElementById('resultado');
	 registerUser.innerHTML = "The visitor has logged out.";
}

function about(){
	 var registerUser = document.getElementById('resultado');
	 registerUser.innerHTML = "Festival New Codington.";
}

function cancel(){
	 var registerUser = document.getElementById('resultado');
	 registerUser.innerHTML = "Registration canceled.";
}

function justNumbers(e) {
	var keynum = window.event ? window.event.keyCode : e.which;
	if ( keynum == 8 ) return true;
	return /\d/.test(String.fromCharCode(keynum));
}

function checkMe()
{
  if (document.myForm.password1.value == document.myForm.password2.value)
  {
    document.myForm.password.value=document.myForm.password1.value;
    return true;
    //document.myForm.submit();
  }
  else
    alert("Passwords do not match!");
	return false;
}
